package com.cfl.usermodule.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Configuration;

import com.cfl.model.User;

public interface UserMapper {
    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);
    
    User selectByName(@Param("name")String name);
    
    User selectByNameAndPassword(@Param("name")String name, @Param("password")String password);
}